

#include "VariableDotAux.h"

registerMooseObject("TrilobitaApp", VariableDotAux);

template <>
InputParameters
validParams<VariableDotAux>()
{
	InputParameters params = AuxKernel::validParams();
  params.addRequiredCoupledVar("dot_variable",
                               "The variable from which to compute the dot");
  return params;
}

VariableDotAux::VariableDotAux(const InputParameters & parameters)
  : AuxKernel(parameters),
    _v_dot(coupledDot("dot_variable"))
{
}

Real
VariableDotAux::computeValue()
{
  return _v_dot[_qp];
}
